<?php
/**
 * Created by phpstrom.
 * User:wangyahe
 * Date: 2017/7/17
 * Time: 14:24
 */
//微控制器添加命名空间和前缀
Route::group(['prefix'=>'admin','namespace'=>'Admin'],function(){
	//登录
	Route::get('/login','LoginController@index');
	Route::post('/login','LoginController@login');
	//配置后台首页的路由
	Route::get('/index','EntryController@index');
	//配置修改密码的路由
	Route::get('/changePass','EntryController@pass');
	Route::post('/changePass','EntryController@changePass');
	//退出登录
	Route::get('/out','EntryController@logout');
	//标签管理
	Route::resource('/tag','TagController');

});
